
<h1>{L_MANAGE_TITLE}</h1>

<p>{L_MANAGE_EXPLAIN}</p>

{ERROR_BOX}

<form action="{S_ATTACH_ACTION}" method="post" {I18N}>
<table><tbody>
	<tr>
		<th colspan="2">{L_ATTACHMENT_SETTINGS}</th>
	</tr>
	<tr>
		<td width="80%">{L_UPLOAD_DIR}<br /><i>{L_UPLOAD_DIR_EXPLAIN}</i></td>
		<td><input type="text" size="25" maxlength="100" name="upload_dir" value="{UPLOAD_DIR}" /></td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_IMG_PATH}<br /><i>{L_IMG_PATH_EXPLAIN}</i></td>
		<td><input type="text" size="25" maxlength="100" name="upload_img" value="{ATTACHMENT_IMG_PATH}" /></td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_TOPIC_ICON}<br /><i>{L_TOPIC_ICON_EXPLAIN}</i></td>
		<td><input type="text" size="25" maxlength="100" name="topic_icon" value="{TOPIC_ICON}" /></td>
	</tr>
	<tr>
		<td>{L_DISPLAY_ORDER}<br /><i>{L_DISPLAY_ORDER_EXPLAIN}</i></td>
		<td>
		<table border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td><input type="radio" name="display_order" value="0" {DISPLAY_ORDER_DESC} /> {L_DESC}</td>
      </tr>
      <tr>
         <td><input type="radio" name="display_order" value="1" {DISPLAY_ORDER_ASC} /> {L_ASC}</td>
      </tr>
		</table></td>
	</tr>
</tbody><tbody>
	<tr>
		<th colspan="2">{L_ATTACHMENT_FILESIZE_SETTINGS}</th>
	</tr>
	<tr>
		<td style="width:80%;">{L_MAX_FILESIZE}<br /><i>{L_MAX_FILESIZE_EXPLAIN}</i></td>
		<td><input type="number" min="0" size="3" maxlength="15" name="max_filesize" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
	</tr>
	<tr>
		<td style="width:80%;">{L_ATTACH_QUOTA}<br /><i>{L_ATTACH_QUOTA_EXPLAIN}</i></td>
		<td><input type="number" min="0" size="3" maxlength="15" name="attachment_quota" value="{ATTACHMENT_QUOTA}" /> {S_FILESIZE_QUOTA}</td>
	</tr>
	<tr>
		<td style="width:80%;">{L_DEFAULT_QUOTA_LIMIT}<br /><i>{L_DEFAULT_QUOTA_LIMIT_EXPLAIN}</i></td>
		<td nowrap="nowrap">{S_DEFAULT_UPLOAD_LIMIT}</td>
	</tr>
</tbody><tbody>
	<tr>
		<th colspan="2">{L_ATTACHMENT_NUMBER_SETTINGS}</th>
	</tr>
	<tr>
		<td>{L_MAX_ATTACHMENTS}<br /><i>{L_MAX_ATTACHMENTS_EXPLAIN}</i></td>
		<td><input type="number" min="0" size="3" maxlength="3" name="max_attachments" value="{MAX_ATTACHMENTS}" /></td>
	</tr>
</tbody><tbody>
	<tr>
		<th colspan="2">{L_ATTACHMENT_OPTIONS_SETTINGS}</th>
	</tr>
	<tr>
		<td>{L_DISABLE_MOD}<br /><i>{L_DISABLE_MOD_EXPLAIN}</i></td>
		<td><input type="radio" name="disable_mod" value="1" {DISABLE_MOD_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="disable_mod" value="0" {DISABLE_MOD_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_TOPIC_REVIEW}<br /><i>{L_ATTACHMENT_TOPIC_REVIEW_EXPLAIN}</i></td>
		<td><input type="radio" name="attachment_topic_review" value="1" {TOPIC_REVIEW_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="attachment_topic_review" value="0" {TOPIC_REVIEW_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td>{L_SHOW_APCP}<br /><i>{L_SHOW_APCP_EXPLAIN}</i></td>
		<td><input type="radio" name="show_apcp" value="1" {SHOW_APCP_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="show_apcp" value="0" {SHOW_APCP_NO} /> {L_NO}</td>
	</tr>
</tbody><tbody>
<!-- BEGIN switch_ftp -->
	<tr>
		<th colspan="2">{L_ATTACHMENT_FTP_SETTINGS}</th>
	</tr>
	<tr>
		<td>{L_FTP_UPLOAD}<br /><i>{L_FTP_UPLOAD_EXPLAIN}</i></td>
		<td><input type="radio" name="allow_ftp_upload" value="1" {FTP_UPLOAD_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="allow_ftp_upload" value="0" {FTP_UPLOAD_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_FTP_SERVER}<br /><i>{L_ATTACHMENT_FTP_SERVER_EXPLAIN}</i></td>
		<td><input type="text" size="20" maxlength="100" name="ftp_server" value="{FTP_SERVER}" /></td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_FTP_PATH}<br /><i>{L_ATTACHMENT_FTP_PATH_EXPLAIN}</i></td>
		<td><input type="text" size="20" maxlength="100" name="ftp_path" value="{FTP_PATH}" /></td>
	</tr>
	<tr>
		<td>{L_DOWNLOAD_PATH}<br /><i>{L_DOWNLOAD_PATH_EXPLAIN}</i></td>
		<td><input type="text" size="20" maxlength="100" name="download_path" value="{DOWNLOAD_PATH}" /></td>
	</tr>
	<tr>
		<td>{L_FTP_PASSIVE_MODE}<br /><i>{L_FTP_PASSIVE_MODE_EXPLAIN}</i></td>
		<td><input type="radio" name="ftp_pasv_mode" value="1" {FTP_PASV_MODE_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="ftp_pasv_mode" value="0" {FTP_PASV_MODE_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_FTP_USER}</td>
		<td><input type="text" size="20" maxlength="100" name="ftp_user" value="{FTP_USER}" /></td>
	</tr>
	<tr>
		<td>{L_ATTACHMENT_FTP_PASS}</td>
		<td><input type="password" size="10" maxlength="20" name="ftp_pass" value="{FTP_PASS}" /></td>
	</tr>
<!-- END switch_ftp -->
<!-- BEGIN switch_no_ftp -->
	<input type="hidden" name="allow_ftp_upload" value="0" />
	<tr>
		<th colspan="2">{L_ATTACHMENT_FTP_SETTINGS}</th>
	</tr>
	<tr>
		<td colspan="2">{L_NO_FTP_EXTENSIONS}</td>
	</tr>
<!-- END switch_no_ftp -->
</tbody><tfoot>
	<tr>
		<td colspan="2">{S_HIDDEN_FIELDS}
			<input type="submit" value="{L_SUBMIT}"/>
			<input type="reset" value="{L_RESET}"/>
			<input type="submit" name="settings" value="{L_TEST_SETTINGS}"/>
		</td>
	</tr>
</tfoot></table>
</form>

<div style="text-align:center;">{ATTACH_VERSION}</div>
